EPT/VT-d page table sharing
authorKeir Fraser <keir@xen.org>
Wed, 15 Dec 2010 14:16:03 +0000 (14:16 +0000)
committerKeir Fraser <keir@xen.org>
Wed, 15 Dec 2010 14:16:03 +0000 (14:16 +0000)
commit99b2c7638276d88b45839a22a77d94c35a5472a1
tree64225af5ea2c625b53d60891bb61f03b0ff33b08
parent09150fd700874bf0362f60856d9ba70944aff5ee
EPT/VT-d page table sharing

Basic idea is to leverage 2MB and 1GB page size support in EPT by having
VT-d using the same page tables as EPT.  When EPT page table changes, flush
VT-d IOTLB cache.

Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Allen Kay <allen.m.kay@intel.com>
xen/arch/x86/mm/hap/p2m-ept.c
xen/arch/x86/mm/p2m.c
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/vtd/iommu.c
xen/drivers/passthrough/vtd/iommu.h
xen/include/asm-x86/hvm/vmx/vmx.h
xen/include/xen/iommu.h